//
//  DataSummaryCell.swift
//  TimeBoat
//
//  Created by bo wang on 2022/8/24.
//  Copyright © 2022 Time Boat. All rights reserved.
//

import UIKit

class DataSummaryCell: UICollectionViewCell {
    
    var vm: DataSummaryCellViewModel!
    var data: Any?
    
    override func awakeFromNib() {
        super.awakeFromNib()
        contentView.layer.cornerRadius = 16
        contentView.layer.masksToBounds = true
        showEmptyData()
    }
    
    func update(vm: DataSummaryCellViewModel, data: Any?) {
        self.vm = vm
        self.data = data
    }
    
    func showEmptyData() {
        
    }
}
